﻿package com.zf.website.entity;

import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import com.zf.generator.orm.hibernate.BaseEntity;

@Entity
public class Stu1 extends BaseEntity{
	private String name;
	public String 	getName(){
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	private Integer age;
	public Integer 	getAge(){
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	@Temporal(TemporalType.DATE)
	private Date birthday;
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	
}
